var zNodes =[
{id:1, pId:0, name:"文章管理", open:true},
{id:101, pId:1, name:"撰写文章", url:"<php>echo U('Admin/Admin/addContent');</php>", target:"main"},
{id:102, pId:1, name:"所有文章",  url:"<php>echo U('Admin/Admin/listContent');</php>", target:"main"},
{id:103, pId:1, name:"添加分类",  url:"<php>echo U('Admin/Admin/addCategory');</php>", target:"main"},
{id:104, pId:1, name:"所有分类",  url:"<php>echo U('Admin/Admin/listCategory');</php>", target:"main"},
{id:105, pId:1, name:"草稿箱",  url:"<php>echo U('Admin/Admin/listDraft');</php>", target:"main"},
{id:106, pId:1, name:"回收站",  url:"<php>echo U('Admin/Admin/listCallback');</php>", target:"main"},

{id:2, pId:0, name:"多媒体管理", open:false},
{id:201, pId:2, name:"媒体库", url:"<php>echo U('Admin/Media/index');</php>", target:"main"},
{id:202, pId:2, name:"添加媒体",  url:"<php>echo U('Admin/Media/add');</php>", target:"main"},

{id:3, pId:0, name:"链接管理", open:false},
{id:301, pId:3, name:"添加链接", url:"<php>echo U('Admin/Links/addLinks');</php>", target:"main"},
{id:302, pId:3, name:"查看链接",  url:"<php>echo U('Admin/Links/listLinks');</php>", target:"main"},

{id:4, pId:0, name:"权限管理", open:false},
{id:401, pId:4, name:"用户列表", url:"<php>echo U('Admin/Rbac/index');</php>", target:"main"},
{id:402, pId:4, name:"角色列表",  url:"<php>echo U('Admin/Rbac/role');</php>", target:"main"},
{id:403, pId:4, name:"节点列表",  url:"<php>echo U('Admin/Rbac/node');</php>", target:"main"},
{id:404, pId:4, name:"添加用户",  url:"<php>echo U('Admin/Rbac/addUser');</php>", target:"main"},
{id:405, pId:4, name:"添加角色",  url:"<php>echo U('Admin/Rbac/addRole');</php>", target:"main"},

{id:5, pId:0, name:"在线编辑", open:false},
{id:501, pId:5, name:"首页模板",  url:"<php>echo U('Admin/Config/config',array('remark'=>'首页模板','filename'=>$indexView));</php>", target:"main"},
{id:502, pId:5, name:"文章模板",  url:"<php>echo U('Admin/Config/config',array('remark'=>'文章模板','filename'=>$contentView));</php>", target:"main"},
{id:503, pId:5, name:"分类模板",  url:"<php>echo U('Admin/Config/config',array('remark'=>'分类模板','filename'=>$categoryView));</php>", target:"main"},
{id:504, pId:5, name:"头部文件",  url:"<php>echo U('Admin/Config/config',array('remark'=>'头部文件','filename'=>$headerView));</php>", target:"main"},
{id:505, pId:5, name:"底部文件",  url:"<php>echo U('Admin/Config/config',array('remark'=>'底部模板','filename'=>$footerView));</php>", target:"main"},
{id:506, pId:5, name:"配置文件",  url:"<php>echo U('Admin/Config/config',array('remark'=>'配置文件','filename'=>$conf));</php>", target:"main"},

{id:6, pId:0, name:"SiteMap管理", open:false},
{id:601, pId:6, name:"更新HTML地图", url:"<php>echo U('Admin/SiteMap/createHtml',array('act'=>'r'),'');</php>", target:"main"},
{id:602, pId:6, name:"更新XML地图",  url:"<php>echo U('Admin/SiteMap/createXML',array('act'=>'r'),'');</php>", target:"main"},
{id:603, pId:6, name:"浏览HTML地图",  url:"<php>echo APP_PATH . '../sitemap.html';</php>", target:"main"},
{id:604, pId:6, name:"浏览XML地图",  url:"<php>echo APP_PATH . '../sitemap.xml';</php>", target:"main"},

{id:7, pId:0, name:"数据管理", open:false},
{id:701, pId:7, name:"SQL命令", url:"<php>echo U('Admin/Data/sql');</php>", target:"main"},
{id:702, pId:7, name:"数据备份",  url:"<php>echo U('Admin/Data/backupDB');</php>", target:"main"},
{id:703, pId:7, name:"修复优化",  url:"<php>echo U('Admin/Data/opimize');</php>", target:"main"},

{id:8, pId:0, name:"图表统计", open:false},
{id:801, pId:8, name:"文章月份统计", url:"<php>echo U('Admin/Char/content');</php>", target:"main"},
{id:802, pId:8, name:"文章分类统计",  url:"<php>echo U('Admin/Char/category');</php>", target:"main"},

{id:9, pId:0, name:"缓存管理", open:false},
{id:901, pId:9, name:"更新文章缓存", url:"<php>echo U('Admin/Freshen/index');</php>", target:"main"},
{id:902, pId:9, name:"更新链接缓存",  url:"<php>echo U('Admin/Cache/delLinkeCache');</php>", target:"main"},
{id:903, pId:9, name:"更新站点信息缓存",  url:"<php>echo U('Admin/Cache/delSiteOptionCache');</php>", target:"main"},

{id:10, pId:0, name:"个人设置", open:false},
{id:1001, pId:10, name:"修改密码", url:"<php>echo U('Admin/Self/updatePwd');</php>", target:"main"},

{id:88, pId:0, name:"站点信息",  url:"<php>echo U('Admin/Siteoption/index');</php>", target:"main"},
{id:89, pId:0, name:"关于",  url:"<php>echo U('Admin/Admin/help');</php>", target:"main"},
{id:90, pId:0, name:"系统信息",  url:"<php>echo U('Admin/Admin/main');</php>", target:"main"},
{id:91, pId:0, name:"刷新页面", url:"javascript:parent.location.reload()", target:"_parent"},
{id:92, pId:0, name:"安全退出", url:"<php>echo U('Admin/Admin/sale');</php>", target:"_parent"},
{id:93, pId:0, name:"移动版", url:"<php>echo U('Admin/Admin/mobile');</php>", target:"_parent"},



];

 